/*
package com.itheima.reggie.controller;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

@SpringBootTest
public class test {

    @Autowired
    private RedisTemplate<String,Object> redisTemplate;


    @Test
    public void testRedis(){
        redisTemplate.opsForValue().set("emp","虎哥");
        Object emp = redisTemplate.opsForValue().get("emp");
        System.out.println(emp);
    }
}
*/
